/*    */ package com.zimbra.cs.redolog.op;
/*    */ 
/*    */ import com.zimbra.cs.mailbox.MailItem.Type;
/*    */ import com.zimbra.cs.mailbox.Mailbox;
/*    */ import com.zimbra.cs.mailbox.MailboxManager;
/*    */ import com.zimbra.cs.mailbox.MailboxOperation;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class UnlockItem
/*    */   extends LockItem
/*    */ {
/*    */   public UnlockItem()
/*    */   {
/* 28 */     this.mOperation = MailboxOperation.UnlockItem;
/*    */   }
/*    */   
/*    */   public UnlockItem(int mailboxId, int id, MailItem.Type type, String accountId) {
/* 32 */     super(mailboxId, id, type, accountId);
/* 33 */     this.mOperation = MailboxOperation.UnlockItem;
/*    */   }
/*    */   
/*    */   public void redo() throws Exception
/*    */   {
/* 38 */     Mailbox mbox = MailboxManager.getInstance().getMailboxById(getMailboxId());
/* 39 */     mbox.unlock(getOperationContext(), this.id, this.type, this.accountId);
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/redolog/op/UnlockItem.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */